﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Standard
{
    /// <summary>
    /// 返回结果
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class ApiResult<T>
    {
        public int Code { get; set; }
        public string Message { get; set; }
        public T ResultData { get; set; }
        
    }
    /// <summary>
    /// 带Token的返回结果
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class ApiResultToken<T>
    {
        public string Code { get; set; }
        public string Message { get; set; }
        public T ResultData { get; set; }
        public string Token { get; set; }
        
    }

}
